package com.lin.pay.paypal.v2.dto.orders;

import com.paypal.http.annotations.SerializedName;
import com.paypal.orders.AuthorizationStatusDetails;
import com.paypal.orders.LinkDescription;
import com.paypal.orders.Money;
import com.paypal.orders.SellerProtection;

import java.util.List;

public class Authorization {
    private Money amount;
    private AuthorizationStatusDetails status_details;
    private String create_time;
    private String expiration_time;
    private String id;
    private String invoice_id;
    private List<LinkDescription> links;
    private SellerProtection seller_protection;
    private String status;
    private String update_time;

    public Money getAmount() {
        return amount;
    }

    public void setAmount(Money amount) {
        this.amount = amount;
    }

    public AuthorizationStatusDetails getStatus_details() {
        return status_details;
    }

    public void setStatus_details(AuthorizationStatusDetails status_details) {
        this.status_details = status_details;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getExpiration_time() {
        return expiration_time;
    }

    public void setExpiration_time(String expiration_time) {
        this.expiration_time = expiration_time;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getInvoice_id() {
        return invoice_id;
    }

    public void setInvoice_id(String invoice_id) {
        this.invoice_id = invoice_id;
    }

    public List<LinkDescription> getLinks() {
        return links;
    }

    public void setLinks(List<LinkDescription> links) {
        this.links = links;
    }

    public SellerProtection getSeller_protection() {
        return seller_protection;
    }

    public void setSeller_protection(SellerProtection seller_protection) {
        this.seller_protection = seller_protection;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }
}
